/* 
 * $Id$
 * @description some global site js constatnts
 */


$.fn.extend({
    constants:{
        "zIndexBlockerBase":"777",
        "SITE_PAGE":"/s/",
        "msgCount":"3",
        "categoryJsonURL":"/json/category",
        "tagJsonURL":"/json/tag",
        "artilceJsonURL":"/json/article",
        "customCKEditorOptions":{
            toolbar_custom_v1://Despite the fact that the names are similar to standard panels, a set of buttons are changed
            [
            {
                name:'doc',
                items:[ 'Source', '-', 'DocProps', 'Preview', 'Print', '-', 'Templates' ]
            },
            {
                name:'clipboard',
                items:[ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo' ]
            },
            {
                name:'editing',
                items:[ 'Find', 'Replace', '-', 'SelectAll']
            },
            {
                name:'tools',
                items:[ 'Maximize', 'ShowBlocks']
            },
            "/",
            {
                name:'basicstyles',
                items:[ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ]
            },
            {
                name:'paragraph',
                items:[ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote',
                '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock']
            },
            {
                name:'styles',
                items:[ 'Format', 'TextColor' ]
            },
            {
                name:'links',
                items:[ 'Link', 'Unlink', 'Anchor', 'Image', 'Table', 'HorizontalRule', 'SpecialChar']
            }
            ],
            toolbar:'custom_v1',
            uiColor:'#9999ff',
            extraPlugins:"onchange"
        }
    }
});

